package com.inossem.warehousestorage_inossem.bean.up_frame;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/7/8 0008.
 */

public class UpFrameOverviewBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"requestNumber":"33333333333333","inStorageType":"验收入库","createDate":"2017-07-10","warehouseName":"宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司","materielVoucherNumber":"4100000009","materielList":[{"serial":"1","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","notUpFrameNumber":"20","unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息"},{"serial":"2","materielCode":"WLBM12345678902222","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","notUpFrameNumber":"50","unit":"套","specialInventoryFlag":"L","specialInventoryCode":"200000002","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * requestNumber : 33333333333333
         * inStorageType : 验收入库
         * createDate : 2017-07-10
         * warehouseName : 宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下可以创业成功有限公司
         * materielVoucherNumber : 4100000009
         * materielList : [{"serial":"1","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","notUpFrameNumber":"20","unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息"},{"serial":"2","materielCode":"WLBM12345678902222","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","notUpFrameNumber":"50","unit":"套","specialInventoryFlag":"L","specialInventoryCode":"200000002","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息"}]
         */

        private String requestNumber;
        private String inStorageType;
        private String createDate;
        private String warehouseName;
        private String materielVoucherNumber;
        private String lgnum;
        private List<MaterielListBean> materielList = new ArrayList<MaterielListBean>();

        public String getLgnum() {
            return lgnum;
        }

        public void setLgnum(String lgnum) {
            this.lgnum = lgnum;
        }

        public String getRequestNumber() {
            return requestNumber;
        }

        public void setRequestNumber(String requestNumber) {
            this.requestNumber = requestNumber;
        }

        public String getInStorageType() {
            return inStorageType;
        }

        public void setInStorageType(String inStorageType) {
            this.inStorageType = inStorageType;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getWarehouseName() {
            return warehouseName;
        }

        public void setWarehouseName(String warehouseName) {
            this.warehouseName = warehouseName;
        }

        public String getMaterielVoucherNumber() {
            return materielVoucherNumber;
        }

        public void setMaterielVoucherNumber(String materielVoucherNumber) {
            this.materielVoucherNumber = materielVoucherNumber;
        }

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean implements Serializable {
            /**
             * serial : 1
             * materielCode : WLBM12345678901111
             * materielDescription : 物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述
             * notUpFrameNumber : 20
             * unit : 千瓦时
             * specialInventoryFlag : K
             * specialInventoryCode : 100000001
             * speicalInventoryDescription : 特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息
             */

            private String serial;
            private String materielCode;
            private String materielDescription;
            private String notUpFrameNumber;
            private String unit;
            private String specialInventoryFlag;
            private String specialInventoryCode;
            private String speicalInventoryDescription;

            private List<PositionListBean> positionList;

            public List<PositionListBean> getPositionList() {
                return positionList;
            }

            public void setPositionList(List<PositionListBean> positionList) {
                this.positionList = positionList;
            }

            public String getSerial() {
                return serial;
            }

            public void setSerial(String serial) {
                this.serial = serial;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getNotUpFrameNumber() {
                return notUpFrameNumber;
            }

            public void setNotUpFrameNumber(String notUpFrameNumber) {
                this.notUpFrameNumber = notUpFrameNumber;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getSpecialInventoryFlag() {
                return specialInventoryFlag;
            }

            public void setSpecialInventoryFlag(String specialInventoryFlag) {
                this.specialInventoryFlag = specialInventoryFlag;
            }

            public String getSpecialInventoryCode() {
                return specialInventoryCode;
            }

            public void setSpecialInventoryCode(String specialInventoryCode) {
                this.specialInventoryCode = specialInventoryCode;
            }

            public String getSpeicalInventoryDescription() {
                return speicalInventoryDescription;
            }

            public void setSpeicalInventoryDescription(String speicalInventoryDescription) {
                this.speicalInventoryDescription = speicalInventoryDescription;
            }

            public static class PositionListBean {
                /**
                 * store : A15
                 * qty : 10
                 * unit : 套
                 */

                private String id;
                private String position;
                private String number;
                private String unit;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getPosition() {
                    return position;
                }

                public void setPosition(String position) {
                    this.position = position;
                }

                public String getNumber() {
                    return number;
                }

                public void setNumber(String number) {
                    this.number = number;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }
            }

        }
    }
}
